Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change ADU client update id to match service specification #2331

Merged
merged 5 commits into from
Sep 10, 2022

Conversation

ewertons
Copy link
Contributor

@ewertons ewertons commented Sep 7, 2022

The update-id reported by the ADU agent, as defined by the ADU service, is an escaped string, and has no need to be split into a separate struct with the individual components (provider, name, version). This change simplifies the ADU agent state generation by following this specification, as well as removes a bug-prone buffer manipulation from az_iot_adu_client.c.

The update-id reported by the ADU agent, as defined by the
ADU service, is an escaped string, and has no need to be
split into a separate struct with the individual components
(provider, name, version). This change simplifies the ADU
agent state generation by following this specification,
as well as removes a bug-prone buffer manipulation from
az_iot_adu_client.c.
sdk/src/azure/iot/az_iot_adu_client.c Outdated Show resolved Hide resolved
@ewertons
Copy link
Contributor Author

ewertons commented Sep 9, 2022

/check-enforcer reset

ewertons added a commit to Azure/azure-iot-middleware-freertos that referenced this pull request Sep 10, 2022
@ewertons ewertons merged commit 8539495 into feature/iot-adu Sep 10, 2022
@ewertons ewertons deleted the ewertons/iot-adu/client-update-id branch September 10, 2022 00:57
ewertons added a commit to Azure/azure-iot-middleware-freertos that referenced this pull request Sep 12, 2022
* Change ADU client update id to match service specification

Please refer to Azure/azure-sdk-for-c#2331 for details.

* Update submodule
ewertons added a commit to Azure-Samples/iot-middleware-freertos-samples that referenced this pull request Sep 12, 2022
Change ADU client update id to match service specification
Please refer to Azure/azure-sdk-for-c#2331 for details.
ewertons added a commit to Azure-Samples/iot-middleware-freertos-samples that referenced this pull request Sep 12, 2022
ewertons added a commit to Azure-Samples/iot-middleware-freertos-samples that referenced this pull request Sep 12, 2022
* Change ADU client update id to match service specification

Please refer to Azure/azure-sdk-for-c#2331 for details.

* Code style fixes

* Fix NXP and simulated examples

* Code style fixes
danewalton pushed a commit to danewalton/azure-sdk-for-c that referenced this pull request Sep 14, 2022
* Change ADU client update id to match service specification

The update-id reported by the ADU agent, as defined by the
ADU service, is an escaped string, and has no need to be
split into a separate struct with the individual components
(provider, name, version). This change simplifies the ADU
agent state generation by following this specification,
as well as removes a bug-prone buffer manipulation from
az_iot_adu_client.c.

* Fix code style

* Remove left-over printfs

* Address code review comments

* Fix spacing
danewalton pushed a commit to danewalton/azure-sdk-for-c that referenced this pull request Sep 14, 2022
* Change ADU client update id to match service specification

The update-id reported by the ADU agent, as defined by the
ADU service, is an escaped string, and has no need to be
split into a separate struct with the individual components
(provider, name, version). This change simplifies the ADU
agent state generation by following this specification,
as well as removes a bug-prone buffer manipulation from
az_iot_adu_client.c.

* Fix code style

* Remove left-over printfs

* Address code review comments

* Fix spacing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants